
book-01:     file format elf64-littleaarch64


Disassembly of section .init:

0000000000400590 <_init>:
  400590:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  400594:	910003fd 	mov	x29, sp
  400598:	94000040 	bl	400698 <call_weak_fn>
  40059c:	a8c17bfd 	ldp	x29, x30, [sp], #16
  4005a0:	d65f03c0 	ret

Disassembly of section .plt:

00000000004005b0 <.plt>:
  4005b0:	a9bf7bf0 	stp	x16, x30, [sp, #-16]!
  4005b4:	90000090 	adrp	x16, 410000 <__FRAME_END__+0xf6cc>
  4005b8:	f947fe11 	ldr	x17, [x16, #4088]
  4005bc:	913fe210 	add	x16, x16, #0xff8
  4005c0:	d61f0220 	br	x17
  4005c4:	d503201f 	nop
  4005c8:	d503201f 	nop
  4005cc:	d503201f 	nop

00000000004005d0 <perror@plt>:
  4005d0:	b0000090 	adrp	x16, 411000 <perror@GLIBC_2.17>
  4005d4:	f9400211 	ldr	x17, [x16]
  4005d8:	91000210 	add	x16, x16, #0x0
  4005dc:	d61f0220 	br	x17

00000000004005e0 <pause@plt>:
  4005e0:	b0000090 	adrp	x16, 411000 <perror@GLIBC_2.17>
  4005e4:	f9400611 	ldr	x17, [x16, #8]
  4005e8:	91002210 	add	x16, x16, #0x8
  4005ec:	d61f0220 	br	x17

00000000004005f0 <signal@plt>:
  4005f0:	b0000090 	adrp	x16, 411000 <perror@GLIBC_2.17>
  4005f4:	f9400a11 	ldr	x17, [x16, #16]
  4005f8:	91004210 	add	x16, x16, #0x10
  4005fc:	d61f0220 	br	x17

0000000000400600 <__libc_start_main@plt>:
  400600:	b0000090 	adrp	x16, 411000 <perror@GLIBC_2.17>
  400604:	f9400e11 	ldr	x17, [x16, #24]
  400608:	91006210 	add	x16, x16, #0x18
  40060c:	d61f0220 	br	x17

0000000000400610 <__gmon_start__@plt>:
  400610:	b0000090 	adrp	x16, 411000 <perror@GLIBC_2.17>
  400614:	f9401211 	ldr	x17, [x16, #32]
  400618:	91008210 	add	x16, x16, #0x20
  40061c:	d61f0220 	br	x17

0000000000400620 <abort@plt>:
  400620:	b0000090 	adrp	x16, 411000 <perror@GLIBC_2.17>
  400624:	f9401611 	ldr	x17, [x16, #40]
  400628:	9100a210 	add	x16, x16, #0x28
  40062c:	d61f0220 	br	x17

0000000000400630 <puts@plt>:
  400630:	b0000090 	adrp	x16, 411000 <perror@GLIBC_2.17>
  400634:	f9401a11 	ldr	x17, [x16, #48]
  400638:	9100c210 	add	x16, x16, #0x30
  40063c:	d61f0220 	br	x17

0000000000400640 <printf@plt>:
  400640:	b0000090 	adrp	x16, 411000 <perror@GLIBC_2.17>
  400644:	f9401e11 	ldr	x17, [x16, #56]
  400648:	9100e210 	add	x16, x16, #0x38
  40064c:	d61f0220 	br	x17

Disassembly of section .text:

0000000000400650 <_start>:
  400650:	d280001d 	mov	x29, #0x0                   	// #0
  400654:	d280001e 	mov	x30, #0x0                   	// #0
  400658:	aa0003e5 	mov	x5, x0
  40065c:	f94003e1 	ldr	x1, [sp]
  400660:	910023e2 	add	x2, sp, #0x8
  400664:	910003e6 	mov	x6, sp
  400668:	580000c0 	ldr	x0, 400680 <_start+0x30>
  40066c:	580000e3 	ldr	x3, 400688 <_start+0x38>
  400670:	58000104 	ldr	x4, 400690 <_start+0x40>
  400674:	97ffffe3 	bl	400600 <__libc_start_main@plt>
  400678:	97ffffea 	bl	400620 <abort@plt>
  40067c:	00000000 	.inst	0x00000000 ; undefined
  400680:	0040074c 	.word	0x0040074c
  400684:	00000000 	.word	0x00000000
  400688:	00400810 	.word	0x00400810
  40068c:	00000000 	.word	0x00000000
  400690:	00400890 	.word	0x00400890
  400694:	00000000 	.word	0x00000000

0000000000400698 <call_weak_fn>:
  400698:	90000080 	adrp	x0, 410000 <__FRAME_END__+0xf6cc>
  40069c:	f947f000 	ldr	x0, [x0, #4064]
  4006a0:	b4000040 	cbz	x0, 4006a8 <call_weak_fn+0x10>
  4006a4:	17ffffdb 	b	400610 <__gmon_start__@plt>
  4006a8:	d65f03c0 	ret
  4006ac:	00000000 	.inst	0x00000000 ; undefined

00000000004006b0 <deregister_tm_clones>:
  4006b0:	b0000080 	adrp	x0, 411000 <perror@GLIBC_2.17>
  4006b4:	91014000 	add	x0, x0, #0x50
  4006b8:	b0000081 	adrp	x1, 411000 <perror@GLIBC_2.17>
  4006bc:	91014021 	add	x1, x1, #0x50
  4006c0:	eb00003f 	cmp	x1, x0
  4006c4:	540000a0 	b.eq	4006d8 <deregister_tm_clones+0x28>  // b.none
  4006c8:	90000001 	adrp	x1, 400000 <_init-0x590>
  4006cc:	f9445821 	ldr	x1, [x1, #2224]
  4006d0:	b4000041 	cbz	x1, 4006d8 <deregister_tm_clones+0x28>
  4006d4:	d61f0020 	br	x1
  4006d8:	d65f03c0 	ret
  4006dc:	d503201f 	nop

00000000004006e0 <register_tm_clones>:
  4006e0:	b0000080 	adrp	x0, 411000 <perror@GLIBC_2.17>
  4006e4:	91014000 	add	x0, x0, #0x50
  4006e8:	b0000081 	adrp	x1, 411000 <perror@GLIBC_2.17>
  4006ec:	91014021 	add	x1, x1, #0x50
  4006f0:	cb000021 	sub	x1, x1, x0
  4006f4:	9343fc21 	asr	x1, x1, #3
  4006f8:	8b41fc21 	add	x1, x1, x1, lsr #63
  4006fc:	9341fc21 	asr	x1, x1, #1
  400700:	b40000a1 	cbz	x1, 400714 <register_tm_clones+0x34>
  400704:	90000002 	adrp	x2, 400000 <_init-0x590>
  400708:	f9445c42 	ldr	x2, [x2, #2232]
  40070c:	b4000042 	cbz	x2, 400714 <register_tm_clones+0x34>
  400710:	d61f0040 	br	x2
  400714:	d65f03c0 	ret

0000000000400718 <__do_global_dtors_aux>:
  400718:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
  40071c:	910003fd 	mov	x29, sp
  400720:	f9000bf3 	str	x19, [sp, #16]
  400724:	b0000093 	adrp	x19, 411000 <perror@GLIBC_2.17>
  400728:	39414260 	ldrb	w0, [x19, #80]
  40072c:	35000080 	cbnz	w0, 40073c <__do_global_dtors_aux+0x24>
  400730:	97ffffe0 	bl	4006b0 <deregister_tm_clones>
  400734:	52800020 	mov	w0, #0x1                   	// #1
  400738:	39014260 	strb	w0, [x19, #80]
  40073c:	f9400bf3 	ldr	x19, [sp, #16]
  400740:	a8c27bfd 	ldp	x29, x30, [sp], #32
  400744:	d65f03c0 	ret

0000000000400748 <frame_dummy>:
  400748:	17ffffe6 	b	4006e0 <register_tm_clones>

000000000040074c <main>:
  40074c:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  400750:	910003fd 	mov	x29, sp
  400754:	90000000 	adrp	x0, 400000 <_init-0x590>
  400758:	911eb000 	add	x0, x0, #0x7ac
  40075c:	aa0003e1 	mov	x1, x0
  400760:	52800140 	mov	w0, #0xa                   	// #10
  400764:	97ffffa3 	bl	4005f0 <signal@plt>
  400768:	b100041f 	cmn	x0, #0x1
  40076c:	54000081 	b.ne	40077c <main+0x30>  // b.any
  400770:	90000000 	adrp	x0, 400000 <_init-0x590>
  400774:	91230000 	add	x0, x0, #0x8c0
  400778:	97ffff96 	bl	4005d0 <perror@plt>
  40077c:	90000000 	adrp	x0, 400000 <_init-0x590>
  400780:	911eb000 	add	x0, x0, #0x7ac
  400784:	aa0003e1 	mov	x1, x0
  400788:	52800180 	mov	w0, #0xc                   	// #12
  40078c:	97ffff99 	bl	4005f0 <signal@plt>
  400790:	b100041f 	cmn	x0, #0x1
  400794:	54000081 	b.ne	4007a4 <main+0x58>  // b.any
  400798:	90000000 	adrp	x0, 400000 <_init-0x590>
  40079c:	91236000 	add	x0, x0, #0x8d8
  4007a0:	97ffff8c 	bl	4005d0 <perror@plt>
  4007a4:	97ffff8f 	bl	4005e0 <pause@plt>
  4007a8:	17ffffff 	b	4007a4 <main+0x58>

00000000004007ac <sig_usr>:
  4007ac:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
  4007b0:	910003fd 	mov	x29, sp
  4007b4:	b9001fa0 	str	w0, [x29, #28]
  4007b8:	b9401fa0 	ldr	w0, [x29, #28]
  4007bc:	7100281f 	cmp	w0, #0xa
  4007c0:	540000a1 	b.ne	4007d4 <sig_usr+0x28>  // b.any
  4007c4:	90000000 	adrp	x0, 400000 <_init-0x590>
  4007c8:	9123c000 	add	x0, x0, #0x8f0
  4007cc:	97ffff99 	bl	400630 <puts@plt>
  4007d0:	1400000c 	b	400800 <sig_usr+0x54>
  4007d4:	b9401fa0 	ldr	w0, [x29, #28]
  4007d8:	7100301f 	cmp	w0, #0xc
  4007dc:	540000a1 	b.ne	4007f0 <sig_usr+0x44>  // b.any
  4007e0:	90000000 	adrp	x0, 400000 <_init-0x590>
  4007e4:	91242000 	add	x0, x0, #0x908
  4007e8:	97ffff92 	bl	400630 <puts@plt>
  4007ec:	14000005 	b	400800 <sig_usr+0x54>
  4007f0:	90000000 	adrp	x0, 400000 <_init-0x590>
  4007f4:	91248000 	add	x0, x0, #0x920
  4007f8:	b9401fa1 	ldr	w1, [x29, #28]
  4007fc:	97ffff91 	bl	400640 <printf@plt>
  400800:	d503201f 	nop
  400804:	a8c27bfd 	ldp	x29, x30, [sp], #32
  400808:	d65f03c0 	ret
  40080c:	00000000 	.inst	0x00000000 ; undefined

0000000000400810 <__libc_csu_init>:
  400810:	a9bc7bfd 	stp	x29, x30, [sp, #-64]!
  400814:	910003fd 	mov	x29, sp
  400818:	a901d7f4 	stp	x20, x21, [sp, #24]
  40081c:	90000094 	adrp	x20, 410000 <__FRAME_END__+0xf6cc>
  400820:	90000095 	adrp	x21, 410000 <__FRAME_END__+0xf6cc>
  400824:	91374294 	add	x20, x20, #0xdd0
  400828:	913722b5 	add	x21, x21, #0xdc8
  40082c:	a902dff6 	stp	x22, x23, [sp, #40]
  400830:	cb150294 	sub	x20, x20, x21
  400834:	f9001ff8 	str	x24, [sp, #56]
  400838:	2a0003f6 	mov	w22, w0
  40083c:	aa0103f7 	mov	x23, x1
  400840:	9343fe94 	asr	x20, x20, #3
  400844:	aa0203f8 	mov	x24, x2
  400848:	97ffff52 	bl	400590 <_init>
  40084c:	b4000194 	cbz	x20, 40087c <__libc_csu_init+0x6c>
  400850:	f9000bb3 	str	x19, [x29, #16]
  400854:	d2800013 	mov	x19, #0x0                   	// #0
  400858:	f8737aa3 	ldr	x3, [x21, x19, lsl #3]
  40085c:	aa1803e2 	mov	x2, x24
  400860:	aa1703e1 	mov	x1, x23
  400864:	2a1603e0 	mov	w0, w22
  400868:	91000673 	add	x19, x19, #0x1
  40086c:	d63f0060 	blr	x3
  400870:	eb13029f 	cmp	x20, x19
  400874:	54ffff21 	b.ne	400858 <__libc_csu_init+0x48>  // b.any
  400878:	f9400bb3 	ldr	x19, [x29, #16]
  40087c:	a941d7f4 	ldp	x20, x21, [sp, #24]
  400880:	a942dff6 	ldp	x22, x23, [sp, #40]
  400884:	f9401ff8 	ldr	x24, [sp, #56]
  400888:	a8c47bfd 	ldp	x29, x30, [sp], #64
  40088c:	d65f03c0 	ret

0000000000400890 <__libc_csu_fini>:
  400890:	d65f03c0 	ret

Disassembly of section .fini:

0000000000400894 <_fini>:
  400894:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  400898:	910003fd 	mov	x29, sp
  40089c:	a8c17bfd 	ldp	x29, x30, [sp], #16
  4008a0:	d65f03c0 	ret
